package com.xxbb.springbootapi.service.impl;

import com.xxbb.springbootapi.entity.Role;
import com.xxbb.springbootapi.mapper.RoleMapper;
import com.xxbb.springbootapi.service.IRoleService;
import com.xxbb.springbootapi.wrapper.RoleQuery;
import org.springframework.stereotype.Service;

@Service
public class RoleService extends BaseService<RoleMapper,Role> implements IRoleService{
    /**
     * 获取mapper
     *
     * @return
     */
    public RoleMapper getMapper() {
        return super.dao.mapper;
    }

    /**
     * 获取query
     *
     * @return
     */
    public RoleQuery getQuery() {
        return super.dao.mapper.query();
    }
}
